<table class="table table-bordered">
    <tbody>
        <tr>
            <td class="col-sm-2">选择短信平台：</td>
            <td class="col-sm-8">
                <select name="sms_platform" id="sms_platform" class="form-control">
                    <option value="0" {% if not config.sms_platform %}selected="selected" {% endif %}>中国网建</option>
                </select>
            </td>
        </tr>
        <tr>
            <td class="col-sm-2">短信平台[apikey]：</td>
            <td class="col-sm-8">
                <input type="text" class="form-control" name="sms_apikey" value="{{config.sms_apikey}}">
                <span id="err_attr_name" style="color:#F00; display:none;"></span>
            </td>
        </tr>
        <tr>
            <td>短信码超时时间：</td>
            <td>
                <select name="sms_time_out">
                    <option value="60" {% if config.sms_time_out == 60 %}checked="checked" {% endif %}>1分钟</option>
                    <option value="120" {% if config.sms_time_out == 120 %}checked="checked" {% endif %}>2分钟</option>
                    <option value="300" {% if config.sms_time_out == 300 %}checked="checked" {% endif %}>5分钟</option>
                    <option value="600" {% if config.sms_time_out == 600 %}checked="checked" {% endif %}>10分钟</option>
                    <option value="1200" {% if config.sms_time_out == 1200 %}checked="checked" {% endif %}>20分钟</option>
                    <option value="1800" {% if config.sms_time_out == 1800 %}checked="checked" {% endif %}>30分钟</option>
                </select>
            </td>
        </tr>
    </tbody>
    <tfoot>
        <tr>
            <td>
                <input type="hidden" name="inc_type" value="{{inc_type}}">
            </td>
            <td class="text-left">
                <input class="btn btn-primary" type="button" value="保存" data-post-url="{{helper.pathFor('adstin')}}"
                    id="submitBtn" data-jump-url="{{helper.pathFor('adstin',{inc_type:inc_type})}}">
            </td>
        </tr>
    </tfoot>
</table>